package edu.tyut.lingyunxing.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;

/**
 * DateTime: 2025/6/21 - 21:42
 * Author: Ycs
 */
@Data
@Builder
public class Ticket implements Serializable {
    
    private static final long serialVersionUID = 1L;
    
    @TableId(type = IdType.AUTO)
    private Long id;

    private Long user;

    private Long flight;

    private Long seat;
    
    // 0: 经济舱 1: 商务舱
    private Integer seatType;
}
